<script setup lang="ts">
import { ref } from 'vue'

const ref1 = ref('aaa')
</script>

<template>
  <div>
    <slot>我是默认内容</slot>
    <slot name="a"></slot>
    <slot name="b" :ref1="ref1"></slot>
  </div>
</template>

<style scoped></style>
